package org.apache.servicecomb.samples.practise.houserush.sale.rpc.po;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import org.hibernate.annotations.SQLDelete;
import org.hibernate.annotations.Where;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data

public class Customer {

    private Integer id;
    private String phone;
    private String name;
    private String idCard;
    private String realName;
    private String address;

    private Date deletedAt;


    private Date createdAt;


    private Date updatedAt;

    private List<Qualification> qualifications = new ArrayList<>();
}
